package com.jd.oneday.month3;

/**
 * 约瑟夫问题
 * 环形链表
 */

public class Day15_Test {
    public static void main(String[] args) {
        Day15_CircularSingleLinkedList day15_circularSingleLinkedList = new Day15_CircularSingleLinkedList();
        //加入5个小孩节点
        day15_circularSingleLinkedList.addBoy(5);
        //遍历
//        day15_circularSingleLinkedList.showBoy();

        day15_circularSingleLinkedList.countBoy(1, 2, 5);
    }
}
